﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserInfoWebUserControl.ascx.cs" Inherits="UserInfoWebUserControl" %>
<div class="user">
                &nbsp;<asp:LoginView ID="LoginView1" runat="server">
                    <AnonymousTemplate>
                        <span style="font-size:small;font-weight:bold">Chao mung ban da den voi InCard!</span>
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                            NavigateUrl="~/Login/Login.aspx#jump">Đăng nhập</asp:HyperLink>
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        <span style="font-size:small;font-weight:bold">Xin chao,</span><asp:LoginName ID="LoginName1" runat="server" Font-Bold="True" 
                            Font-Size="Small" />
                        <asp:HyperLink ID="hpAdmin" runat="server" 
                            NavigateUrl="~/admin/QLKhachHang.aspx" Visible="False">Admin link</asp:HyperLink>
                        <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" 
                            LogoutPageUrl="~/Login/Logout.aspx#jump" />
                    </LoggedInTemplate>
                </asp:LoginView>
            </div>